<?php

use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;

class NodesTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
    	$nodes = [
    		[
    			'id' => 1,
    			'company_id' => 1,
    			'project_id' => 1,
    			'circle_id' => 1,
    			'name' => '圈1-节点1',
    			'location' => '圈1-节点1地址',
    			'time' => '10:00',
    			'longitude' => '128.234343',
    			'latitude' => '28.234324',
    			'status' => 1,
				'created_at' => date('Y-m-d H:i:s'),
    			'updated_at' => date('Y-m-d H:i:s')
			],[
    			'id' => 2,
    			'company_id' => 1,
    			'project_id' => 1,
    			'circle_id' => 1,
    			'name' => '圈1-节点2',
    			'location' => '圈1-节点2地址',
    			'time' => '10:00',
    			'longitude' => '128.234343',
    			'latitude' => '28.234324',
    			'status' => 1,
				'created_at' => date('Y-m-d H:i:s'),
    			'updated_at' => date('Y-m-d H:i:s')
			],[
    			'id' => 3,
    			'company_id' => 1,
    			'project_id' => 1,
    			'circle_id' => 1,
    			'name' => '圈1-节点3',
    			'location' => '圈1-节点3地址',
    			'time' => '10:00',
    			'longitude' => '128.234343',
    			'latitude' => '28.234324',
    			'status' => 1,
				'created_at' => date('Y-m-d H:i:s'),
    			'updated_at' => date('Y-m-d H:i:s')
			],[
    			'id' => 4,
    			'company_id' => 1,
    			'project_id' => 1,
    			'circle_id' => 2,
    			'name' => '圈2-节点1',
    			'location' => '圈2-节点1地址',
    			'time' => '10:00',
    			'longitude' => '128.234343',
    			'latitude' => '28.234324',
    			'status' => 1,
				'created_at' => date('Y-m-d H:i:s'),
    			'updated_at' => date('Y-m-d H:i:s')
			],[
    			'id' => 5,
    			'company_id' => 1,
    			'project_id' => 1,
    			'circle_id' => 2,
    			'name' => '圈2-节点2',
    			'location' => '圈2-节点2地址',
    			'time' => '10:00',
    			'longitude' => '128.234343',
    			'latitude' => '28.234324',
    			'status' => 1,
				'created_at' => date('Y-m-d H:i:s'),
    			'updated_at' => date('Y-m-d H:i:s')
			],[
    			'id' => 6,
    			'company_id' => 1,
    			'project_id' => 1,
    			'circle_id' => 2,
    			'name' => '圈2-节点3',
    			'location' => '圈2-节点3地址',
    			'time' => '10:00',
    			'longitude' => '128.234343',
    			'latitude' => '28.234324',
    			'status' => 1,
				'created_at' => date('Y-m-d H:i:s'),
    			'updated_at' => date('Y-m-d H:i:s')
			],[
    			'id' => 7,
    			'company_id' => 1,
    			'project_id' => 1,
    			'circle_id' => 3,
    			'name' => '圈3-节点1',
    			'location' => '圈3-节点1地址',
    			'time' => '10:00',
    			'longitude' => '128.234343',
    			'latitude' => '28.234324',
    			'status' => 1,
				'created_at' => date('Y-m-d H:i:s'),
    			'updated_at' => date('Y-m-d H:i:s')
			],[
    			'id' => 8,
    			'company_id' => 1,
    			'project_id' => 1,
    			'circle_id' => 3,
    			'name' => '圈3-节点2',
    			'location' => '圈3-节点2地址',
    			'time' => '10:00',
    			'longitude' => '128.234343',
    			'latitude' => '28.234324',
    			'status' => 1,
				'created_at' => date('Y-m-d H:i:s'),
    			'updated_at' => date('Y-m-d H:i:s')
			],[
    			'id' => 9,
    			'company_id' => 1,
    			'project_id' => 1,
    			'circle_id' => 3,
    			'name' => '圈3-节点3',
    			'location' => '圈3-节点3地址',
    			'time' => '10:00',
    			'longitude' => '128.234343',
    			'latitude' => '28.234324',
    			'status' => 1,
				'created_at' => date('Y-m-d H:i:s'),
    			'updated_at' => date('Y-m-d H:i:s')
			],[
    			'id' => 10,
    			'company_id' => 1,
    			'project_id' => 1,
    			'circle_id' => 4,
    			'name' => '圈4-节点1',
    			'location' => '圈4-节点1地址',
    			'time' => '10:00',
    			'longitude' => '128.234343',
    			'latitude' => '28.234324',
    			'status' => 1,
				'created_at' => date('Y-m-d H:i:s'),
    			'updated_at' => date('Y-m-d H:i:s')
			],[
    			'id' => 11,
    			'company_id' => 1,
    			'project_id' => 1,
    			'circle_id' => 4,
    			'name' => '圈4-节点2',
    			'location' => '圈4-节点2地址',
    			'time' => '10:00',
    			'longitude' => '128.234343',
    			'latitude' => '28.234324',
    			'status' => 1,
				'created_at' => date('Y-m-d H:i:s'),
    			'updated_at' => date('Y-m-d H:i:s')
			],[
    			'id' => 12,
    			'company_id' => 1,
    			'project_id' => 1,
    			'circle_id' => 4,
    			'name' => '圈4-节点3',
    			'location' => '圈4-节点3地址',
    			'time' => '10:00',
    			'longitude' => '128.234343',
    			'latitude' => '28.234324',
    			'status' => 1,
				'created_at' => date('Y-m-d H:i:s'),
    			'updated_at' => date('Y-m-d H:i:s')
			],[
    			'id' => 13,
    			'company_id' => 1,
    			'project_id' => 1,
    			'circle_id' => 5,
    			'name' => '圈5-节点1',
    			'location' => '圈5-节点1地址',
    			'time' => '10:00',
    			'longitude' => '128.234343',
    			'latitude' => '28.234324',
    			'status' => 1,
				'created_at' => date('Y-m-d H:i:s'),
    			'updated_at' => date('Y-m-d H:i:s')
			],[
    			'id' => 14,
    			'company_id' => 1,
    			'project_id' => 1,
    			'circle_id' => 5,
    			'name' => '圈5-节点2',
    			'location' => '圈5-节点2地址',
    			'time' => '10:00',
    			'longitude' => '128.234343',
    			'latitude' => '28.234324',
    			'status' => 1,
				'created_at' => date('Y-m-d H:i:s'),
    			'updated_at' => date('Y-m-d H:i:s')
			],[
    			'id' => 15,
    			'company_id' => 1,
    			'project_id' => 1,
    			'circle_id' => 5,
    			'name' => '圈5-节点3',
    			'location' => '圈5-节点3地址',
    			'time' => '10:00',
    			'longitude' => '128.234343',
    			'latitude' => '28.234324',
    			'status' => 1,
				'created_at' => date('Y-m-d H:i:s'),
    			'updated_at' => date('Y-m-d H:i:s')
			],[
    			'id' => 16,
    			'company_id' => 1,
    			'project_id' => 1,
    			'circle_id' => 6,
    			'name' => '圈6-节点1',
    			'location' => '圈6-节点1地址',
    			'time' => '10:00',
    			'longitude' => '128.234343',
    			'latitude' => '28.234324',
    			'status' => 1,
				'created_at' => date('Y-m-d H:i:s'),
    			'updated_at' => date('Y-m-d H:i:s')
			],[
    			'id' => 17,
    			'company_id' => 1,
    			'project_id' => 1,
    			'circle_id' => 6,
    			'name' => '圈6-节点2',
    			'location' => '圈6-节点2地址',
    			'time' => '10:00',
    			'longitude' => '128.234343',
    			'latitude' => '28.234324',
    			'status' => 1,
				'created_at' => date('Y-m-d H:i:s'),
    			'updated_at' => date('Y-m-d H:i:s')
			],[
    			'id' => 18,
    			'company_id' => 1,
    			'project_id' => 1,
    			'circle_id' => 6,
    			'name' => '圈6-节点3',
    			'location' => '圈6-节点3地址',
    			'time' => '10:00',
    			'longitude' => '128.234343',
    			'latitude' => '28.234324',
    			'status' => 1,
				'created_at' => date('Y-m-d H:i:s'),
    			'updated_at' => date('Y-m-d H:i:s')
			],[
    			'id' => 19,
    			'company_id' => 1,
    			'project_id' => 1,
    			'circle_id' => 7,
    			'name' => '圈7-节点1',
    			'location' => '圈7-节点1地址',
    			'time' => '10:00',
    			'longitude' => '128.234343',
    			'latitude' => '28.234324',
    			'status' => 1,
				'created_at' => date('Y-m-d H:i:s'),
    			'updated_at' => date('Y-m-d H:i:s')
			],[
    			'id' => 20,
    			'company_id' => 1,
    			'project_id' => 1,
    			'circle_id' => 7,
    			'name' => '圈7-节点2',
    			'location' => '圈7-节点2地址',
    			'time' => '10:00',
    			'longitude' => '128.234343',
    			'latitude' => '28.234324',
    			'status' => 1,
				'created_at' => date('Y-m-d H:i:s'),
    			'updated_at' => date('Y-m-d H:i:s')
			],[
    			'id' => 21,
    			'company_id' => 1,
    			'project_id' => 1,
    			'circle_id' => 7,
    			'name' => '圈7-节点3',
    			'location' => '圈7-节点3地址',
    			'time' => '10:00',
    			'longitude' => '128.234343',
    			'latitude' => '28.234324',
    			'status' => 1,
				'created_at' => date('Y-m-d H:i:s'),
    			'updated_at' => date('Y-m-d H:i:s')
			],[
    			'id' => 22,
    			'company_id' => 1,
    			'project_id' => 1,
    			'circle_id' => 8,
    			'name' => '圈8-节点1',
    			'location' => '圈8-节点1地址',
    			'time' => '10:00',
    			'longitude' => '128.234343',
    			'latitude' => '28.234324',
    			'status' => 1,
				'created_at' => date('Y-m-d H:i:s'),
    			'updated_at' => date('Y-m-d H:i:s')
			],[
    			'id' => 23,
    			'company_id' => 1,
    			'project_id' => 1,
    			'circle_id' => 8,
    			'name' => '圈8-节点2',
    			'location' => '圈8-节点2地址',
    			'time' => '10:00',
    			'longitude' => '128.234343',
    			'latitude' => '28.234324',
    			'status' => 1,
				'created_at' => date('Y-m-d H:i:s'),
    			'updated_at' => date('Y-m-d H:i:s')
			],[
    			'id' => 24,
    			'company_id' => 1,
    			'project_id' => 1,
    			'circle_id' => 8,
    			'name' => '圈8-节点3',
    			'location' => '圈8-节点3地址',
    			'time' => '10:00',
    			'longitude' => '128.234343',
    			'latitude' => '28.234324',
    			'status' => 1,
				'created_at' => date('Y-m-d H:i:s'),
    			'updated_at' => date('Y-m-d H:i:s')
			],[
    			'id' => 25,
    			'company_id' => 1,
    			'project_id' => 1,
    			'circle_id' => 9,
    			'name' => '圈9-节点1',
    			'location' => '圈9-节点1地址',
    			'time' => '10:00',
    			'longitude' => '128.234343',
    			'latitude' => '28.234324',
    			'status' => 1,
				'created_at' => date('Y-m-d H:i:s'),
    			'updated_at' => date('Y-m-d H:i:s')
			],[
    			'id' => 26,
    			'company_id' => 1,
    			'project_id' => 1,
    			'circle_id' => 9,
    			'name' => '圈9-节点2',
    			'location' => '圈9-节点2地址',
    			'time' => '10:00',
    			'longitude' => '128.234343',
    			'latitude' => '28.234324',
    			'status' => 1,
				'created_at' => date('Y-m-d H:i:s'),
    			'updated_at' => date('Y-m-d H:i:s')
			],[
    			'id' => 27,
    			'company_id' => 1,
    			'project_id' => 1,
    			'circle_id' => 9,
    			'name' => '圈9-节点3',
    			'location' => '圈9-节点3地址',
    			'time' => '10:00',
    			'longitude' => '128.234343',
    			'latitude' => '28.234324',
    			'status' => 1,
				'created_at' => date('Y-m-d H:i:s'),
    			'updated_at' => date('Y-m-d H:i:s')
			],
		];

    	DB::table('nodes')->insert($nodes);
    }
}
